package interview.offer;

/**
 * @author fangbin
 * @desc
 * @date 2020/5/8 7:17
 */
public class ClassLoaderChecker {
    public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException {
        MyClassLoader m = new MyClassLoader("C:/Users/admin/Desktop/","myClassLoader");
        Class c = m.loadClass("Wali");
        System.out.println(c.getClassLoader());
        c.newInstance();
    }
}
